import { getReq, postReq } from '@U/common'

// 消息列表
export const getMessageList = (params = {}) => getReq('/api/channel-agent/notify/list', params)

// 消息表头是否红点
export const getNotifyCount = () => getReq('/api/channel-agent/notify/count')

// 接收人通知详情
export const getNotifyDetails = (params = {}) => getReq('/api/channel-agent/notify/info', params)

// 回执内容
export const addReceiptContent = (params = {}) => postReq('/api/channel-agent/notify/receipt-msg', params)

// 消息阅读
export const getReadNotifyMsg = (params = {}) => postReq('/api/channel-agent/notify/read-msg', params)
